package com.example.service;

import java.util.List;

import com.example.entity.TreeMenu;


public interface TreeMenuService {

	/**
	 * 根据角色id集合查询对应的菜单
	 * @param roleIds
	 * @return
	 */
	public List<TreeMenu> getModuleByRoleIds(String roleIds);
	/**
	 * 生成菜单树  用户
	 * @param roleIds
	 * @return
	 */
	public List<TreeMenu> getTreeMenu(String roleIds);
	
	/** 
	 * 生成菜单树  角色权限
	 * @param roleIds
	 * @return
	 */
	public List<TreeMenu> getTreeMenu2(String roleIds);
	/**
	 * 查找子菜单
	 * @param TreeMenu
	 * @param treeList
	 * @return
	 */
	public TreeMenu findChildren(TreeMenu TreeMenu, List<TreeMenu> treeList);

}
